package com.xinchen.aiowaste.ui.activity

import android.os.Bundle
import androidx.navigation.fragment.findNavController
import com.xinchen.aiowaste.R
import com.xinchen.aiowaste.base.BaseActivity

class SystemSettingActivity : BaseActivity() {
    override fun getLayoutId(): Int = R.layout.activity_system_setting

    override fun initData(savedInstanceState: Bundle?) {
        val navHost = supportFragmentManager.findFragmentById(R.id.fragment)
        val navController = navHost?.findNavController()
        navController?.setGraph(R.navigation.navigation_system_setting)
        navController?.navigateUp()
    }
}